<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>管理中心</title>
<link href="<?=$_BASE_DIR?>css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?=$_BASE_DIR?>js/jquery.min.js"></script>
<script type="text/javascript" src="<?=$_BASE_DIR?>js/common.js"></script>
<script type="text/javascript" src="<?=$_BASE_DIR?>js/jquery-ui.min.js"></script>
<script type="text/javascript" src="<?=$_BASE_DIR?>uploadify/swfobject.js"></script>
<script type="text/javascript" src="<?=$_BASE_DIR?>uploadify/jquery.uploadify.v2.1.4.min.js"></script>
<link href="<?=$_BASE_DIR?>uploadify/uploadify.css" rel="stylesheet" type="text/css" />
<!--script type="text/javascript" src="<?=$_BASE_DIR?>js/jquery.tablehover.js"></script-->
<style type="text/css">
<!--
#ajaxmask {
	width: 100%;
	height: 100%;
	background: #000;
    display:none;
}
/*
td.hover, tr.hover
{
	background-color: LemonChiffon;
}
*/
-->
</style>
<script>
$('#ajaxmask').ajaxStart(function() {
	$(this).show();
}).ajaxStop(function() {
	$(this).hide();
});
/*
$(document).ready(function()
{
	$('.list_table').tableHover();
});
*/
$(function() {
	$('.list_table tr:odd:not(first-child)').addClass('tbc');
});
</script>

</head>
<body>
<div id="maint">
  <?php if (is_array($subject)) {?>
  <div id="tabPane1">
  <?php foreach ($subject as $k=>$v){ ?>
	<div class="sec">
	<div class="secb" onclick="switchTab(<?php echo $k;?>)"><?php echo $v['name']; ?></div>
	<div class="bk60"></div>
	<div class="tabCon" id="tabConDiv<?php echo $k;?>"<?php if (!empty($v['url'])) {echo ' url="'.$v['url'].'"';}?>></div>
	</div>
  <?php }?>
  </div>
  <?php $this->_block('contents');?><?$this->_endblock();?>
  <?php } else { ?>
  <div id="tabPane1">
	<div class="sec">
	<div class="secb"><?php echo $subject; ?></div>
	<div class="bk60"></div>
	<div id="tabConDiv0"><?php $this->_block('contents');?><?$this->_endblock();?></div>
	</div>
  </div>
  <?php }?>



</div>
<iframe id="export_ifr" style="display:none"></iframe>

</body>
</html>

